#include <stdio.h>
int Sum(int top){
  int i=1;
  int sum=0;
  for(;i<=top;i++){
    sum+=i;
  }
  return sum;
}
int main(){
  int top=100;
  int result=Sum(100);
  printf("result:%d\n",result);
  return 0;
}
